package com.ledim.utils;

import android.os.Environment;

/**
 */
public class ConstantUtil {

    //启动图片地址
    public static final String LAUNCH_IMAGE_PATH =
            "/data" + Environment.getDataDirectory().getAbsolutePath() +
                    "/com.letv.android.young.client/laucherimage/";
    //启动图片名称
    public static String LAUNCH_IMAGE_NAME = "splash.jpg";

    public static final int PAGE_SIZE = 10;
    public static final int ROOM_NEW_TYPE = 1;
    public static final int ROOM_HOT_TYPE = 2;
    public static final int ROOM_RECOMMEND_TYPE = 3;
    public static final int ROOM_FOLLOW_TYPE = 4;

    public interface ShareConstant {

        // 微信APP_ID
        String WEIXIN_APP_ID = "wxdd0a5843ff949c43";

        String WEIXIN_APP_KEY = "53db2590196847a6963704d946950791";

        //QQ Key
        String QQZone_API_ID = "1105132040";

        String QQZone_API_KEY = "R1NRmRT37hWbpsLI";

        // 新浪APP_KEY
        String SINA_APP_KEY = "1469822586";//735351141

        // 回调地址
        String SINA_REDIRECT_URL = "http://leciyuan.le.com/";

        String SINA_SERVER = "https://api.weibo.com/2/";

        // 新支持scope：支持传入多个scope权限，用逗号分隔
        String SINA_SCOPE = "email,direct_messages_read,direct_messages_write," +
                "friendships_groups_read,friendships_groups_write,statuses_to_me_read," +
                "follow_app_official_microblog," + "invitation_write";
    }

    public static String ID = "id";
    public static String REQUSET = "request";
    public static String RELATION = "relation";
    public static String DATA = "data";
    public static String PHOTO = "photo";
    public static String TYPE = "type";
    public static String URL = "url";
    public static String TITLE = "title";
    public static String MEDIAID = "mediaid";
    public static String SUBMEDIAID = "submediaid";
    public static String DURATION = "duration";
    public static String DES = "intro";
    public static String MY_ROOM_URLS = "my_room_urls";
    public static String MY_ROOM_ID = "my_room_id";
    public static String ROOM_CREATER = "room_creater";
    public static int CHOOSE_FILE_PATHRESPONSE = 0x11;
    public static int CHOOSE_FILE_PATHREQUEST = 0x12;
    public static int CHOOSE_PICURL_RESPONSE = 0x13;
    public static String ZOOM_FILE_PATH = "zoom_file_path";
    public static String CHOOSE_URL_PATH = "choose_url_path";
    public static String FROM_PUSH_MSG = "from_push_msg";

    public static final int NOT_FOCUS_STATE = 0;//未关注
    public static final int ALREADY_FOCUS_STATE = 1;//已关注
    public static final int TOGETHER_FOCUS_STATE = 2;//相互关注

    public static final int LOGIN_REQUEST = 0x11;
    public static final int LOGIN_CANCEL_RESPONSE = 0x12;
    public static final int LOGIN_SUCCESS_RESPONSE = 0x13;

    public interface EventBusMsgConstant {

        int WEIXIN_LOGIN = 0X001;

        int BASE_MODEL_EPISODE_FAIL = 0X003;

        int PUSH_MSG_NOTICE = 0X004;
    }

    /**
     * 登录账户类型
     */
    public interface AccountType {

        int QQ = 1;

        int WEIBO = 2;

        int WEIXIN = 3;
    }

    /**
     * 卡片类型风格
     */
    public interface CardGroupStyle {

        int card1 = 1;

        int card2 = 2;

        int card3 = 3;

        int card4 = 4;

        int card5 = 5;

        int card6 = 6;

        int card7 = 7;

        int card8 = 8;

        int card9 = 9;

    }

    /**
     * 卡片类型
     */
    public interface CardType {

        int video = 1;

        int album = 2;

        int room = 3;

        int channel = 4;

        int star = 5;

        int banner = 6;//H5跳转

        int tag = 8;
    }

    /**
     * 频道类型
     */
    public interface ChannelType {

        int film = 1;// 电影

        int tv = 2;// 电视剧

        int entertainment = 3; // 娱乐

        int sport = 4;// 体育

        int cartoon = 5;// 动漫

        int music = 9;// 音乐

        int variety = 11;// 综艺

        int record = 16;// 纪录片

        int feed = 1009;// 资讯

        int ustv = 1017;// 美剧

        int self = 1008;// 自制
    }

    /**
     * 聊天类型
     */
    public interface ChatType {

        int text = 0;//文本消息

        int join = 1;//加入聊天室消息

        int coin = 2;//打赏金币消息

        int bye = 3;//离开聊天室消息

        int icon = 4;//图片消息

        int notice = 5;//被禁言和被踢出消息
    }

    /**
     * 播放类型
     */
    public interface PlayState {

        int wait = 0;

        int palying = 1;

        int end = 2;
    }

    public interface DialogConstant {

        String COMMONTYPE = "commontype";

        String POSITIVE = "positive";

        String NEGATIVE = "negative";

        String TITLE = "title";

        String CANCEL = "cancel";

        int DIALOG_VERCTIAL_TYPE = 0;

        int DIALOG_HORIZONTAL_TYPE = 1;
    }

    public interface ChatUserActionConstant {

        // 1, 禁言 2, 踢出 3, 解除禁言 4, 解除踢出
        int FORBID_SPEAK = 1;

        int KICK_OFF = 2;

        int UNFORBID_SPEAK = 3;

        int UNKICK_OFF = 4;
    }

    public interface IPUSHMSGTYPE {

        int card_msg = 1;

        int room_msg = 2;

        int h5_msg = 3;

        int theme_msg = 4;
    }


}
